package com.yingxue.lesson.service;/*
 * @date:2021/6/13 17:31
 * @author: dzj
 **/

import com.yingxue.lesson.entity.SysPermission;
import com.yingxue.lesson.vo.req.PermissionAddReqVO;
import com.yingxue.lesson.vo.resp.PermissionRespNodeVO;

import java.util.List;

public interface PermissionService {
    List<SysPermission> selectAll();

    List<PermissionRespNodeVO> selectAllMenuByTree();
    SysPermission addPermission(PermissionAddReqVO vo);

    List<PermissionRespNodeVO> permissionTreeList(String userId);
    List<PermissionRespNodeVO> selectAllTree();
}
